<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@	taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<c:url var="baseURI" value="/" />
<c:url var="queryPage" value="/studentPaper/queryPage.do" />
<c:url var="allowReExaming" value="/studentPaper/allowReExaming.do" />
<c:url var="deletePaper" value="/studentPaper/deletePaper.do" />
<!-- 跳转到改卷的页面 -->
<c:url var="paperShow" value="/studentPaper/paperShow.do" />
<!-- 保存改卷的结果 -->
<c:url var="savePaper" value="/studentPaper/savePaper.do" />
<!-- 保存平时成绩 -->
<c:url var="modifyRegularScore" value="/studentPaper/modifyRegularScore.do" />

<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>考生试卷管理</title>
	<!-- 引入外部CSS -->
	<link rel="stylesheet" type="text/css" href="${baseURI}resources/easyui/themes/metro-green/easyui.css" />
	<link rel="stylesheet" type="text/css" href="${baseURI}resources/easyui/themes/icon.css" />
	<link rel="stylesheet" type="text/css" href="${baseURI}resources/css/system.css" />
	<!-- 引入外部JS -->
	<script type="text/javascript" src="${baseURI}resources/easyui/jquery.min.js"></script>
	<script type="text/javascript" src="${baseURI}resources/easyui/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="${baseURI}resources/js/common.js"></script>
	<script type="text/javascript" src="${baseURI}resources/js/myeasyui.js"></script>
</head>

<body>
<!-- 表格 -->
<div id="dg_studentPaper"></div>
<!-- 表格上的工具栏 -->
<div id="toolbar_studentPaper" style="padding-left:5px;padding-top:5px; height:auto;">
	<div style="margin-bottom: 10px;">
		<a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true">改卷</a>
		<a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true">修改平时成绩</a>
		<a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-arrow-undo',plain:true">允许重考</a>
		<a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true">删除</a>
		<a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true">刷新</a>
	</div>

	<div style="margin-bottom: 10px;">
		<form method="post">
			<span style="vertical-align: middle; line-height:30px;">学号：</span>
			<input id="account" name="account" class="easyui-textbox" />
			
			<span style="vertical-align: middle; line-height:30px;">&nbsp;&nbsp;&nbsp;班级：</span>
			<input id="className" name="className" class="easyui-textbox" />
			
			<a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true">查询</a>
			<a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-undo',plain:true">重置</a>
		</form>
	</div>
	
</div>

<!-- “改卷”的对话框 -->
<div id="dlg_studentPaper" style="width:900px;height:500px;"></div>

<!-- 修改平时成绩的对话框 -->
<div id="dlg_studentPaper_1" class="easyui-dialog" data-options="closed:true,modal:true,buttons:'#btn_studentPaper_1'" style="width:400px;height:160px;">
	<form method="post">
		<!-- 隐藏域：主键 -->
		<input name="id" type="hidden" />
		<!-- 显示域 -->
		<div class="show">
			<label>考生姓名：</label>
			<input name="name" class="easyui-textbox" />
		</div>
		
		<div class="show">
			<label>平时成绩：</label>
			<input name="regularScore" class="easyui-textbox" data-options="required:true" />
		</div>
	</form>
</div>
<!-- 对话框上的按钮 -->
<div id="btn_studentPaper_1">
	<a href="javascript:;">保存</a>
	<a href="javascript:;">取消</a>
</div>

<!-- 静态引入JS文件 -->
<script type="text/javascript"><%@include file="student_paper.ui.js"%></script>
</body>
</html>